﻿using System;
using System.Collections.Generic;
using System.Text;

namespace subdump
{
    public struct OpenSubtitlesResult
    {
        private string movieHash;
        private string zipUrl;
        private string gzUrl;
        private string movieName;
        public void setVar(string key, string result)
        {
            if (key == "zipUrl")
                zipUrl = result;
            else if (key == "gzUrl")
                gzUrl = result;
            else if (key == "movieHash")
                movieHash = result;
            else if (key == "movieName")
                movieName = result;
        }

    }
}
